# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'adcsample.ui'
##
## Created by: Qt User Interface Compiler version 6.8.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QCheckBox, QComboBox, QFrame,
    QGridLayout, QGroupBox, QHBoxLayout, QLabel,
    QLayout, QPushButton, QSizePolicy, QSpacerItem,
    QTextBrowser, QVBoxLayout, QWidget)

class Ui_Form(object):
    def setupUi(self, Form):
        if not Form.objectName():
            Form.setObjectName(u"Form")
        Form.resize(1007, 826)
        sizePolicy = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
        Form.setSizePolicy(sizePolicy)
        Form.setMaximumSize(QSize(16777215, 16777215))
        font = QFont()
        font.setFamilies([u"\u5e7c\u5706"])
        font.setPointSize(10)
        font.setBold(False)
        font.setItalic(False)
        font.setUnderline(False)
        font.setStrikeOut(False)
        font.setKerning(True)
        font.setHintingPreference(QFont.PreferNoHinting)
        Form.setFont(font)
        Form.setAutoFillBackground(False)
        Form.setStyleSheet(u"")
        self.horizontalLayout_7 = QHBoxLayout(Form)
        self.horizontalLayout_7.setSpacing(9)
        self.horizontalLayout_7.setObjectName(u"horizontalLayout_7")
        self.horizontalLayout_7.setSizeConstraint(QLayout.SizeConstraint.SetNoConstraint)
        self.groupBox = QGroupBox(Form)
        self.groupBox.setObjectName(u"groupBox")
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        font1 = QFont()
        font1.setFamilies([u"\u963f\u91cc\u5df4\u5df4\u666e\u60e0\u4f53 3.0"])
        font1.setPointSize(12)
        font1.setBold(False)
        font1.setItalic(False)
        font1.setUnderline(False)
        font1.setStrikeOut(False)
        font1.setKerning(True)
        font1.setHintingPreference(QFont.PreferNoHinting)
        self.groupBox.setFont(font1)
        self.verticalLayout_2 = QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.gridLayout = QGridLayout()
        self.gridLayout.setObjectName(u"gridLayout")
        self.frame_fft = QFrame(self.groupBox)
        self.frame_fft.setObjectName(u"frame_fft")
        self.frame_fft.setFrameShape(QFrame.Shape.StyledPanel)
        self.frame_fft.setFrameShadow(QFrame.Shadow.Raised)

        self.gridLayout.addWidget(self.frame_fft, 0, 1, 1, 1)

        self.frame_origin = QFrame(self.groupBox)
        self.frame_origin.setObjectName(u"frame_origin")
        self.frame_origin.setFrameShape(QFrame.Shape.StyledPanel)
        self.frame_origin.setFrameShadow(QFrame.Shadow.Raised)

        self.gridLayout.addWidget(self.frame_origin, 0, 0, 1, 1)


        self.verticalLayout_2.addLayout(self.gridLayout)

        self.horizontalLayout_8 = QHBoxLayout()
        self.horizontalLayout_8.setObjectName(u"horizontalLayout_8")
        self.label_3 = QLabel(self.groupBox)
        self.label_3.setObjectName(u"label_3")
        font2 = QFont()
        font2.setFamilies([u"\u963f\u91cc\u5df4\u5df4\u666e\u60e0\u4f53 3.0"])
        font2.setPointSize(10)
        font2.setBold(False)
        font2.setItalic(False)
        font2.setUnderline(False)
        font2.setStrikeOut(False)
        font2.setKerning(True)
        font2.setHintingPreference(QFont.PreferNoHinting)
        self.label_3.setFont(font2)

        self.horizontalLayout_8.addWidget(self.label_3)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)

        self.horizontalLayout_8.addItem(self.horizontalSpacer_2)

        self.checkbox_hexdisplay = QCheckBox(self.groupBox)
        self.checkbox_hexdisplay.setObjectName(u"checkbox_hexdisplay")
        font3 = QFont()
        font3.setFamilies([u"\u963f\u91cc\u5df4\u5df4\u666e\u60e0\u4f53 3.0"])
        font3.setPointSize(10)
        font3.setWeight(QFont.Light)
        font3.setItalic(False)
        font3.setUnderline(False)
        font3.setStrikeOut(False)
        font3.setKerning(True)
        font3.setHintingPreference(QFont.PreferNoHinting)
        self.checkbox_hexdisplay.setFont(font3)

        self.horizontalLayout_8.addWidget(self.checkbox_hexdisplay)


        self.verticalLayout_2.addLayout(self.horizontalLayout_8)

        self.textbox_receive = QTextBrowser(self.groupBox)
        self.textbox_receive.setObjectName(u"textbox_receive")
        self.textbox_receive.setFocusPolicy(Qt.FocusPolicy.StrongFocus)

        self.verticalLayout_2.addWidget(self.textbox_receive)

        self.verticalLayout_2.setStretch(0, 6)
        self.verticalLayout_2.setStretch(2, 4)

        self.horizontalLayout_7.addWidget(self.groupBox)

        self.groupBox_2 = QGroupBox(Form)
        self.groupBox_2.setObjectName(u"groupBox_2")
        sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy1)
        self.groupBox_2.setMinimumSize(QSize(200, 0))
        self.groupBox_2.setMaximumSize(QSize(350, 16777215))
        self.groupBox_2.setFont(font1)
        self.groupBox_2.setFlat(False)
        self.groupBox_2.setCheckable(False)
        self.verticalLayout_5 = QVBoxLayout(self.groupBox_2)
        self.verticalLayout_5.setObjectName(u"verticalLayout_5")
        self.verticalLayout_5.setContentsMargins(6, 6, 6, 6)
        self.layout_serial = QWidget(self.groupBox_2)
        self.layout_serial.setObjectName(u"layout_serial")
        self.verticalLayout_4 = QVBoxLayout(self.layout_serial)
        self.verticalLayout_4.setSpacing(9)
        self.verticalLayout_4.setObjectName(u"verticalLayout_4")
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setSpacing(6)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.horizontalLayout.setContentsMargins(-1, -1, -1, 0)
        self.label_device = QLabel(self.layout_serial)
        self.label_device.setObjectName(u"label_device")
        sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(self.label_device.sizePolicy().hasHeightForWidth())
        self.label_device.setSizePolicy(sizePolicy2)
        self.label_device.setMinimumSize(QSize(0, 0))
        self.label_device.setMaximumSize(QSize(16777215, 16777215))
        font4 = QFont()
        font4.setFamilies([u"\u963f\u91cc\u5df4\u5df4\u666e\u60e0\u4f53 3.0"])
        font4.setPointSize(11)
        font4.setWeight(QFont.Light)
        font4.setItalic(False)
        font4.setUnderline(False)
        font4.setStrikeOut(False)
        font4.setKerning(True)
        font4.setHintingPreference(QFont.PreferNoHinting)
        self.label_device.setFont(font4)
        self.label_device.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)

        self.horizontalLayout.addWidget(self.label_device)

        self.combo_device = QComboBox(self.layout_serial)
        self.combo_device.setObjectName(u"combo_device")
        self.combo_device.setEnabled(True)
        sizePolicy.setHeightForWidth(self.combo_device.sizePolicy().hasHeightForWidth())
        self.combo_device.setSizePolicy(sizePolicy)
        self.combo_device.setMinimumSize(QSize(0, 30))
        self.combo_device.setMaximumSize(QSize(205, 30))
        self.combo_device.setSizeIncrement(QSize(0, 0))
        self.combo_device.setFont(font3)
        self.combo_device.setStyleSheet(u"padding: 5px;")
        self.combo_device.setEditable(False)
        self.combo_device.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToContents)

        self.horizontalLayout.addWidget(self.combo_device)


        self.verticalLayout_4.addLayout(self.horizontalLayout)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.label_baudrate = QLabel(self.layout_serial)
        self.label_baudrate.setObjectName(u"label_baudrate")
        sizePolicy2.setHeightForWidth(self.label_baudrate.sizePolicy().hasHeightForWidth())
        self.label_baudrate.setSizePolicy(sizePolicy2)
        self.label_baudrate.setMinimumSize(QSize(0, 0))
        self.label_baudrate.setMaximumSize(QSize(500, 16777215))
        self.label_baudrate.setFont(font4)
        self.label_baudrate.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)

        self.horizontalLayout_2.addWidget(self.label_baudrate)

        self.combo_baudrate = QComboBox(self.layout_serial)
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.addItem("")
        self.combo_baudrate.setObjectName(u"combo_baudrate")
        self.combo_baudrate.setEnabled(True)
        sizePolicy.setHeightForWidth(self.combo_baudrate.sizePolicy().hasHeightForWidth())
        self.combo_baudrate.setSizePolicy(sizePolicy)
        self.combo_baudrate.setMinimumSize(QSize(68, 30))
        self.combo_baudrate.setMaximumSize(QSize(200, 30))
        self.combo_baudrate.setFont(font4)
        self.combo_baudrate.setEditable(True)
        self.combo_baudrate.setInsertPolicy(QComboBox.InsertPolicy.NoInsert)
        self.combo_baudrate.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToContentsOnFirstShow)

        self.horizontalLayout_2.addWidget(self.combo_baudrate)


        self.verticalLayout_4.addLayout(self.horizontalLayout_2)

        self.horizontalLayout_6 = QHBoxLayout()
        self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
        self.verticalLayout_3 = QVBoxLayout()
        self.verticalLayout_3.setSpacing(10)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.verticalLayout_3.setSizeConstraint(QLayout.SizeConstraint.SetMaximumSize)
        self.verticalLayout_3.setContentsMargins(-1, -1, -1, 6)
        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setSpacing(0)
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.label_stopbits = QLabel(self.layout_serial)
        self.label_stopbits.setObjectName(u"label_stopbits")
        sizePolicy3 = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Preferred)
        sizePolicy3.setHorizontalStretch(0)
        sizePolicy3.setVerticalStretch(0)
        sizePolicy3.setHeightForWidth(self.label_stopbits.sizePolicy().hasHeightForWidth())
        self.label_stopbits.setSizePolicy(sizePolicy3)
        self.label_stopbits.setMaximumSize(QSize(16777215, 30))
        self.label_stopbits.setFont(font4)

        self.horizontalLayout_3.addWidget(self.label_stopbits)

        self.combo_stopbits = QComboBox(self.layout_serial)
        self.combo_stopbits.addItem("")
        self.combo_stopbits.addItem("")
        self.combo_stopbits.addItem("")
        self.combo_stopbits.setObjectName(u"combo_stopbits")
        sizePolicy4 = QSizePolicy(QSizePolicy.Policy.MinimumExpanding, QSizePolicy.Policy.Preferred)
        sizePolicy4.setHorizontalStretch(0)
        sizePolicy4.setVerticalStretch(0)
        sizePolicy4.setHeightForWidth(self.combo_stopbits.sizePolicy().hasHeightForWidth())
        self.combo_stopbits.setSizePolicy(sizePolicy4)
        self.combo_stopbits.setMinimumSize(QSize(0, 30))
        self.combo_stopbits.setMaximumSize(QSize(1000, 30))
        self.combo_stopbits.setFont(font4)
        self.combo_stopbits.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToContents)

        self.horizontalLayout_3.addWidget(self.combo_stopbits)


        self.verticalLayout_3.addLayout(self.horizontalLayout_3)

        self.horizontalLayout_4 = QHBoxLayout()
        self.horizontalLayout_4.setSpacing(0)
        self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
        self.label_parity = QLabel(self.layout_serial)
        self.label_parity.setObjectName(u"label_parity")
        sizePolicy5 = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.MinimumExpanding)
        sizePolicy5.setHorizontalStretch(0)
        sizePolicy5.setVerticalStretch(0)
        sizePolicy5.setHeightForWidth(self.label_parity.sizePolicy().hasHeightForWidth())
        self.label_parity.setSizePolicy(sizePolicy5)
        self.label_parity.setMaximumSize(QSize(16777215, 30))
        self.label_parity.setFont(font4)

        self.horizontalLayout_4.addWidget(self.label_parity)

        self.combo_parity = QComboBox(self.layout_serial)
        self.combo_parity.addItem("")
        self.combo_parity.addItem("")
        self.combo_parity.addItem("")
        self.combo_parity.setObjectName(u"combo_parity")
        sizePolicy4.setHeightForWidth(self.combo_parity.sizePolicy().hasHeightForWidth())
        self.combo_parity.setSizePolicy(sizePolicy4)
        self.combo_parity.setMinimumSize(QSize(0, 30))
        self.combo_parity.setMaximumSize(QSize(1000, 30))
        self.combo_parity.setFont(font4)
        self.combo_parity.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToContents)

        self.horizontalLayout_4.addWidget(self.combo_parity)


        self.verticalLayout_3.addLayout(self.horizontalLayout_4)

        self.button_close = QPushButton(self.layout_serial)
        self.button_close.setObjectName(u"button_close")
        sizePolicy6 = QSizePolicy(QSizePolicy.Policy.MinimumExpanding, QSizePolicy.Policy.Fixed)
        sizePolicy6.setHorizontalStretch(0)
        sizePolicy6.setVerticalStretch(0)
        sizePolicy6.setHeightForWidth(self.button_close.sizePolicy().hasHeightForWidth())
        self.button_close.setSizePolicy(sizePolicy6)
        self.button_close.setMinimumSize(QSize(0, 30))
        self.button_close.setMaximumSize(QSize(16777215, 30))
        font5 = QFont()
        font5.setFamilies([u"\u963f\u91cc\u5df4\u5df4\u666e\u60e0\u4f53 3.0"])
        font5.setPointSize(11)
        font5.setWeight(QFont.Light)
        font5.setItalic(False)
        font5.setUnderline(False)
        font5.setStrikeOut(False)
        font5.setKerning(True)
        font5.setStyleStrategy(QFont.PreferDefault)
        font5.setHintingPreference(QFont.PreferNoHinting)
        self.button_close.setFont(font5)

        self.verticalLayout_3.addWidget(self.button_close)


        self.horizontalLayout_6.addLayout(self.verticalLayout_3)

        self.verticalLayout = QVBoxLayout()
        self.verticalLayout.setSpacing(10)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(-1, -1, -1, 6)
        self.horizontalLayout_5 = QHBoxLayout()
        self.horizontalLayout_5.setSpacing(0)
        self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
        self.label_databits = QLabel(self.layout_serial)
        self.label_databits.setObjectName(u"label_databits")
        sizePolicy3.setHeightForWidth(self.label_databits.sizePolicy().hasHeightForWidth())
        self.label_databits.setSizePolicy(sizePolicy3)
        self.label_databits.setMaximumSize(QSize(16777215, 30))
        self.label_databits.setFont(font4)

        self.horizontalLayout_5.addWidget(self.label_databits)

        self.combo_databits = QComboBox(self.layout_serial)
        self.combo_databits.addItem("")
        self.combo_databits.addItem("")
        self.combo_databits.addItem("")
        self.combo_databits.addItem("")
        self.combo_databits.setObjectName(u"combo_databits")
        sizePolicy4.setHeightForWidth(self.combo_databits.sizePolicy().hasHeightForWidth())
        self.combo_databits.setSizePolicy(sizePolicy4)
        self.combo_databits.setMinimumSize(QSize(0, 30))
        self.combo_databits.setMaximumSize(QSize(1000, 30))
        self.combo_databits.setFont(font4)
        self.combo_databits.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToContents)

        self.horizontalLayout_5.addWidget(self.combo_databits)


        self.verticalLayout.addLayout(self.horizontalLayout_5)

        self.button_detect = QPushButton(self.layout_serial)
        self.button_detect.setObjectName(u"button_detect")
        self.button_detect.setEnabled(True)
        sizePolicy4.setHeightForWidth(self.button_detect.sizePolicy().hasHeightForWidth())
        self.button_detect.setSizePolicy(sizePolicy4)
        self.button_detect.setMinimumSize(QSize(0, 0))
        self.button_detect.setMaximumSize(QSize(500, 30))
        self.button_detect.setFont(font5)

        self.verticalLayout.addWidget(self.button_detect)

        self.button_open = QPushButton(self.layout_serial)
        self.button_open.setObjectName(u"button_open")
        sizePolicy4.setHeightForWidth(self.button_open.sizePolicy().hasHeightForWidth())
        self.button_open.setSizePolicy(sizePolicy4)
        self.button_open.setMinimumSize(QSize(0, 0))
        self.button_open.setMaximumSize(QSize(16777215, 30))
        self.button_open.setFont(font5)

        self.verticalLayout.addWidget(self.button_open)


        self.horizontalLayout_6.addLayout(self.verticalLayout)


        self.verticalLayout_4.addLayout(self.horizontalLayout_6)

        self.horizontalLayout_10 = QHBoxLayout()
        self.horizontalLayout_10.setObjectName(u"horizontalLayout_10")
        self.label_baudrate_3 = QLabel(self.layout_serial)
        self.label_baudrate_3.setObjectName(u"label_baudrate_3")
        sizePolicy2.setHeightForWidth(self.label_baudrate_3.sizePolicy().hasHeightForWidth())
        self.label_baudrate_3.setSizePolicy(sizePolicy2)
        self.label_baudrate_3.setMinimumSize(QSize(0, 0))
        self.label_baudrate_3.setMaximumSize(QSize(500, 16777215))
        self.label_baudrate_3.setFont(font4)
        self.label_baudrate_3.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)

        self.horizontalLayout_10.addWidget(self.label_baudrate_3)

        self.combo_sample_rate = QComboBox(self.layout_serial)
        self.combo_sample_rate.addItem("")
        self.combo_sample_rate.addItem("")
        self.combo_sample_rate.addItem("")
        self.combo_sample_rate.addItem("")
        self.combo_sample_rate.addItem("")
        self.combo_sample_rate.setObjectName(u"combo_sample_rate")
        self.combo_sample_rate.setEnabled(True)
        sizePolicy.setHeightForWidth(self.combo_sample_rate.sizePolicy().hasHeightForWidth())
        self.combo_sample_rate.setSizePolicy(sizePolicy)
        self.combo_sample_rate.setMinimumSize(QSize(68, 30))
        self.combo_sample_rate.setMaximumSize(QSize(200, 30))
        self.combo_sample_rate.setFont(font4)
        self.combo_sample_rate.setEditable(True)
        self.combo_sample_rate.setInsertPolicy(QComboBox.InsertPolicy.NoInsert)
        self.combo_sample_rate.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToContentsOnFirstShow)

        self.horizontalLayout_10.addWidget(self.combo_sample_rate)


        self.verticalLayout_4.addLayout(self.horizontalLayout_10)

        self.horizontalLayout_11 = QHBoxLayout()
        self.horizontalLayout_11.setObjectName(u"horizontalLayout_11")
        self.label_baudrate_4 = QLabel(self.layout_serial)
        self.label_baudrate_4.setObjectName(u"label_baudrate_4")
        sizePolicy2.setHeightForWidth(self.label_baudrate_4.sizePolicy().hasHeightForWidth())
        self.label_baudrate_4.setSizePolicy(sizePolicy2)
        self.label_baudrate_4.setMinimumSize(QSize(0, 0))
        self.label_baudrate_4.setMaximumSize(QSize(500, 16777215))
        self.label_baudrate_4.setFont(font4)
        self.label_baudrate_4.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)

        self.horizontalLayout_11.addWidget(self.label_baudrate_4)

        self.combo_times = QComboBox(self.layout_serial)
        self.combo_times.addItem("")
        self.combo_times.addItem("")
        self.combo_times.addItem("")
        self.combo_times.setObjectName(u"combo_times")
        self.combo_times.setEnabled(True)
        sizePolicy.setHeightForWidth(self.combo_times.sizePolicy().hasHeightForWidth())
        self.combo_times.setSizePolicy(sizePolicy)
        self.combo_times.setMinimumSize(QSize(68, 30))
        self.combo_times.setMaximumSize(QSize(200, 30))
        self.combo_times.setFont(font4)
        self.combo_times.setEditable(True)
        self.combo_times.setInsertPolicy(QComboBox.InsertPolicy.NoInsert)
        self.combo_times.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToContentsOnFirstShow)

        self.horizontalLayout_11.addWidget(self.combo_times)


        self.verticalLayout_4.addLayout(self.horizontalLayout_11)

        self.horizontalLayout_12 = QHBoxLayout()
        self.horizontalLayout_12.setObjectName(u"horizontalLayout_12")
        self.label_baudrate_5 = QLabel(self.layout_serial)
        self.label_baudrate_5.setObjectName(u"label_baudrate_5")
        sizePolicy2.setHeightForWidth(self.label_baudrate_5.sizePolicy().hasHeightForWidth())
        self.label_baudrate_5.setSizePolicy(sizePolicy2)
        self.label_baudrate_5.setMinimumSize(QSize(0, 0))
        self.label_baudrate_5.setMaximumSize(QSize(500, 16777215))
        self.label_baudrate_5.setFont(font4)
        self.label_baudrate_5.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)

        self.horizontalLayout_12.addWidget(self.label_baudrate_5)

        self.combo_mode = QComboBox(self.layout_serial)
        self.combo_mode.addItem("")
        self.combo_mode.addItem("")
        self.combo_mode.addItem("")
        self.combo_mode.setObjectName(u"combo_mode")
        self.combo_mode.setEnabled(True)
        sizePolicy.setHeightForWidth(self.combo_mode.sizePolicy().hasHeightForWidth())
        self.combo_mode.setSizePolicy(sizePolicy)
        self.combo_mode.setMinimumSize(QSize(68, 30))
        self.combo_mode.setMaximumSize(QSize(200, 30))
        self.combo_mode.setFont(font4)
        self.combo_mode.setEditable(True)
        self.combo_mode.setInsertPolicy(QComboBox.InsertPolicy.NoInsert)
        self.combo_mode.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToContentsOnFirstShow)

        self.horizontalLayout_12.addWidget(self.combo_mode)


        self.verticalLayout_4.addLayout(self.horizontalLayout_12)

        self.button_save = QPushButton(self.layout_serial)
        self.button_save.setObjectName(u"button_save")
        sizePolicy6.setHeightForWidth(self.button_save.sizePolicy().hasHeightForWidth())
        self.button_save.setSizePolicy(sizePolicy6)
        self.button_save.setMinimumSize(QSize(0, 30))
        self.button_save.setMaximumSize(QSize(16777215, 30))
        self.button_save.setFont(font5)

        self.verticalLayout_4.addWidget(self.button_save)

        self.verticalSpacer = QSpacerItem(20, 900, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)

        self.verticalLayout_4.addItem(self.verticalSpacer)


        self.verticalLayout_5.addWidget(self.layout_serial)


        self.horizontalLayout_7.addWidget(self.groupBox_2)

        self.horizontalLayout_7.setStretch(0, 10)
        self.horizontalLayout_7.setStretch(1, 4)

        self.retranslateUi(Form)

        self.combo_baudrate.setCurrentIndex(12)
        self.combo_parity.setCurrentIndex(0)
        self.combo_databits.setCurrentIndex(3)
        self.combo_sample_rate.setCurrentIndex(0)
        self.combo_times.setCurrentIndex(0)
        self.combo_mode.setCurrentIndex(0)


        QMetaObject.connectSlotsByName(Form)
    # setupUi

    def retranslateUi(self, Form):
        Form.setWindowTitle(QCoreApplication.translate("Form", u"TENG Output Signal Monitor", None))
        self.groupBox.setTitle(QCoreApplication.translate("Form", u"Received data", None))
        self.label_3.setText(QCoreApplication.translate("Form", u"Console", None))
        self.checkbox_hexdisplay.setText(QCoreApplication.translate("Form", u"Hex display", None))
        self.groupBox_2.setTitle(QCoreApplication.translate("Form", u"Setting", None))
        self.label_device.setText(QCoreApplication.translate("Form", u"Device", None))
        self.label_baudrate.setText(QCoreApplication.translate("Form", u"Baudrate", None))
        self.combo_baudrate.setItemText(0, QCoreApplication.translate("Form", u"300", None))
        self.combo_baudrate.setItemText(1, QCoreApplication.translate("Form", u"1200", None))
        self.combo_baudrate.setItemText(2, QCoreApplication.translate("Form", u"2400", None))
        self.combo_baudrate.setItemText(3, QCoreApplication.translate("Form", u"4800", None))
        self.combo_baudrate.setItemText(4, QCoreApplication.translate("Form", u"9600", None))
        self.combo_baudrate.setItemText(5, QCoreApplication.translate("Form", u"19200", None))
        self.combo_baudrate.setItemText(6, QCoreApplication.translate("Form", u"38400", None))
        self.combo_baudrate.setItemText(7, QCoreApplication.translate("Form", u"57600", None))
        self.combo_baudrate.setItemText(8, QCoreApplication.translate("Form", u"76880", None))
        self.combo_baudrate.setItemText(9, QCoreApplication.translate("Form", u"115200", None))
        self.combo_baudrate.setItemText(10, QCoreApplication.translate("Form", u"230400", None))
        self.combo_baudrate.setItemText(11, QCoreApplication.translate("Form", u"460800", None))
        self.combo_baudrate.setItemText(12, QCoreApplication.translate("Form", u"921600", None))
        self.combo_baudrate.setItemText(13, QCoreApplication.translate("Form", u"1500000", None))
        self.combo_baudrate.setItemText(14, QCoreApplication.translate("Form", u"2000000", None))

#if QT_CONFIG(tooltip)
        self.combo_baudrate.setToolTip(QCoreApplication.translate("Form", u"<html><head/><body><p>This list contains baud rates supported by current hardware.</p></body></html>", None))
#endif // QT_CONFIG(tooltip)
        self.label_stopbits.setText(QCoreApplication.translate("Form", u"Stop bits", None))
        self.combo_stopbits.setItemText(0, QCoreApplication.translate("Form", u"1", None))
        self.combo_stopbits.setItemText(1, QCoreApplication.translate("Form", u"1.5", None))
        self.combo_stopbits.setItemText(2, QCoreApplication.translate("Form", u"2", None))

        self.label_parity.setText(QCoreApplication.translate("Form", u"Parity", None))
        self.combo_parity.setItemText(0, QCoreApplication.translate("Form", u"None", None))
        self.combo_parity.setItemText(1, QCoreApplication.translate("Form", u"Odd", None))
        self.combo_parity.setItemText(2, QCoreApplication.translate("Form", u"Even", None))

        self.button_close.setText(QCoreApplication.translate("Form", u"Disconnect", None))
        self.label_databits.setText(QCoreApplication.translate("Form", u"Data bits", None))
        self.combo_databits.setItemText(0, QCoreApplication.translate("Form", u"5", None))
        self.combo_databits.setItemText(1, QCoreApplication.translate("Form", u"6", None))
        self.combo_databits.setItemText(2, QCoreApplication.translate("Form", u"7", None))
        self.combo_databits.setItemText(3, QCoreApplication.translate("Form", u"8", None))

#if QT_CONFIG(whatsthis)
        self.button_detect.setWhatsThis(QCoreApplication.translate("Form", u"<html><head/><body><p>Refresh availible COM ports list</p></body></html>", None))
#endif // QT_CONFIG(whatsthis)
        self.button_detect.setText(QCoreApplication.translate("Form", u"Refresh", None))
        self.button_open.setText(QCoreApplication.translate("Form", u"Connect", None))
        self.label_baudrate_3.setText(QCoreApplication.translate("Form", u"Sample rate", None))
        self.combo_sample_rate.setItemText(0, QCoreApplication.translate("Form", u"1000", None))
        self.combo_sample_rate.setItemText(1, QCoreApplication.translate("Form", u"2000", None))
        self.combo_sample_rate.setItemText(2, QCoreApplication.translate("Form", u"2500", None))
        self.combo_sample_rate.setItemText(3, QCoreApplication.translate("Form", u"5000", None))
        self.combo_sample_rate.setItemText(4, QCoreApplication.translate("Form", u"10000", None))

#if QT_CONFIG(tooltip)
        self.combo_sample_rate.setToolTip(QCoreApplication.translate("Form", u"<html><head/><body><p>This list contains baud rates supported by current hardware.</p></body></html>", None))
#endif // QT_CONFIG(tooltip)
        self.label_baudrate_4.setText(QCoreApplication.translate("Form", u"Magnification", None))
        self.combo_times.setItemText(0, QCoreApplication.translate("Form", u"392.16", None))
        self.combo_times.setItemText(1, QCoreApplication.translate("Form", u"5", None))
        self.combo_times.setItemText(2, QCoreApplication.translate("Form", u"110", None))

#if QT_CONFIG(tooltip)
        self.combo_times.setToolTip(QCoreApplication.translate("Form", u"<html><head/><body><p>This list contains baud rates supported by current hardware.</p></body></html>", None))
#endif // QT_CONFIG(tooltip)
        self.label_baudrate_5.setText(QCoreApplication.translate("Form", u"Mode", None))
        self.combo_mode.setItemText(0, QCoreApplication.translate("Form", u"voltage", None))
        self.combo_mode.setItemText(1, QCoreApplication.translate("Form", u"current", None))
        self.combo_mode.setItemText(2, QCoreApplication.translate("Form", u"charge", None))

#if QT_CONFIG(tooltip)
        self.combo_mode.setToolTip(QCoreApplication.translate("Form", u"<html><head/><body><p>This list contains baud rates supported by current hardware.</p></body></html>", None))
#endif // QT_CONFIG(tooltip)
        self.button_save.setText(QCoreApplication.translate("Form", u"Save received data", None))
    # retranslateUi

